package com.sunseaypw.console;

import java.rmi.RemoteException;
import java.time.LocalDateTime;
import java.time.ZoneId;

public class worldclocksrv implements worldclock {
    public LocalDateTime getLocalDateTime(String zoneId) throws RemoteException {
        System.out.println("我接受你的方法请求了。。。。。啊啊");
        return LocalDateTime.now(ZoneId.of(zoneId)).withNano(0);
    } 
}
